package com.ruoyi.work.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生公司中间对象 jy_student_corporation
 * 
 * @author ruoyi
 * @date 2024-06-06
 */
public class JyStudentCorporation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中间表id */
    @Excel(name = "中间表id")
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;
    private String stuName;

    /** 公司id */
    @Excel(name = "公司id")
    private Long corporationId;
    private String corporationName;
    private String corporationAddress;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resignationTime;

    /** 上报入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportEntryTime;

    /** 上报离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportResignationTime;

    /** 是否有补助 */
    @Excel(name = "是否有补助")
    private String isSubsidy;

    /** 补助金额 */
    @Excel(name = "补助金额")
    private String subsidyPrice;

    /** 薪资 */
    @Excel(name = "薪资")
    private BigDecimal corporationPay;

    private List<JyImage> imageList;

    public String getCorporationAddress() {
        return corporationAddress;
    }

    public void setCorporationAddress(String corporationAddress) {
        this.corporationAddress = corporationAddress;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public List<JyImage> getImageList() {
        return imageList;
    }

    public void setImageList(List<JyImage> imageList) {
        this.imageList = imageList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setCorporationId(Long corporationId) 
    {
        this.corporationId = corporationId;
    }

    public Long getCorporationId() 
    {
        return corporationId;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setResignationTime(Date resignationTime)
    {
        this.resignationTime = resignationTime;
    }

    public Date getResignationTime()
    {
        return resignationTime;
    }
    public void setReportEntryTime(Date reportEntryTime) 
    {
        this.reportEntryTime = reportEntryTime;
    }

    public Date getReportEntryTime() 
    {
        return reportEntryTime;
    }
    public void setReportResignationTime(Date reportResignationTime) 
    {
        this.reportResignationTime = reportResignationTime;
    }

    public Date getReportResignationTime() 
    {
        return reportResignationTime;
    }
    public void setIsSubsidy(String isSubsidy) 
    {
        this.isSubsidy = isSubsidy;
    }

    public String getIsSubsidy() 
    {
        return isSubsidy;
    }

    public String getSubsidyPrice() {
        return subsidyPrice;
    }

    public void setSubsidyPrice(String subsidyPrice) {
        this.subsidyPrice = subsidyPrice;
    }

    public void setCorporationPay(BigDecimal corporationPay)
    {
        this.corporationPay = corporationPay;
    }

    public BigDecimal getCorporationPay() 
    {
        return corporationPay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("corporationId", getCorporationId())
            .append("entryTime", getEntryTime())
            .append("resignationTime", getResignationTime())
            .append("reportEntryTime", getReportEntryTime())
            .append("reportResignationTime", getReportResignationTime())
            .append("isSubsidy", getIsSubsidy())
            .append("subsidyPrice", getSubsidyPrice())
            .append("corporationPay", getCorporationPay())
            .append("imageList", getImageList())
            .append("stuName", getStuName())
            .append("corporationName", getCorporationName())
            .append("corporationAddress", getCorporationAddress())
            .toString();
    }
}
